<form method="post" action="<?php _actionUrl($this)?>" onsubmit="return ajax_form(this)">
<?php if( get('redirect') ): ?>
<input type="hidden" name="redirect" value="<?php _e(get('redirect'));?>"/>
<?php endif;?>
<div class="x-form-container">
<table border="0" cellpadding="5">
<tr>
	<td>
		<div style="padding:5px 0px">
		<?php 
			_e(tpl_auto_select(array(
				name	=> 'customer_id[]',
				type 	=>  'automutiply',
				url 	=>	baseUrl().'/Crm/Helper/Customer',
				title	=>	'name',
				link 	=> 	'#Crm/Customer/View?ID=',
				items	=>	$this->get('customers'),
				style	=>  'style="width:400px!important"'
			)));
		?></div>	
	</td>
</tr>
<tr>
	<td>
		<textarea class="x-text" style="width:400px;height:100px" name="sms_content" placeholder="Nội dung tin nhắn SMS, tối đa 160 ký tự ..."></textarea>
	</td>
</tr>
<tr>
	<td align="center">
		<?php _e(tpl_button_add('Gửi đi'));?>
		<?php _e(tpl_button_close());?>
	</td>
</tr>
</table></div>
</form>